import 'package:healthy_station_flutter/generated/json/base/json_field.dart';
import 'package:healthy_station_flutter/generated/json/diag_info_entity.g.dart';
import 'dart:convert';
export 'package:healthy_station_flutter/generated/json/diag_info_entity.g.dart';

@JsonSerializable()
class DiagInfoEntity {
	//诊断名称
	String? diseaseName = '';
	//ICDM编码
	String? icd = '';

	DiagInfoEntity();

	factory DiagInfoEntity.fromJson(Map<String, dynamic> json) => $DiagInfoEntityFromJson(json);

	Map<String, dynamic> toJson() => $DiagInfoEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}